Skip to content

Added locks and multithreaded logic to the Session object.#81

Draft
kbarkevich wants to merge 1 commit intosepalani:devfrom
kbarkevich:multithread-session-lock
Draft

Added locks and multithreaded logic to the Session object.#81
kbarkevich wants to merge 1 commit intosepalani:devfrom
kbarkevich:multithread-session-lock

Conversation

@kbarkevich
Copy link
Copy Markdown

  1. Added RLock to Session object (rather than Lock, so that called functions can also be independently Lock protected)
  2. Changed code to only acquire Session properties a single time before doing logic with them, to avoid other threads changing them between steps in the function's logic flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant